cc.game.onStart = function(){
    cc.view.enableRetina(false);
    cc.view.adjustViewPort(true);
    cc.view.setDesignResolutionSize(640, 960, cc.ResolutionPolicy.EXACT_FIT);
	// {  
	//     EXACT_FIT,  
	//     NO_BORDER,  
	//     SHOW_ALL,
	//     FIXED_HEIGHT,
	//     FIXED_WIDTH  
	// }
    cc.view.resizeWithBrowserSize(true);
    cc.LoaderScene.preload(g_resources, function () {
        cc.director.runScene(new playScene());
    }, this);
};
cc.game.run();